/************************************************************************

								Heroes IV
					  Copyright 2000, The 3DO Company

	------------------------------------------------------------------
  						       external_resource.h

	$Header: /game/external_resource.h $

	$NoKeywords: $

 ************************************************************************/
// external_resource.h: interface for the t_external_resource class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(EXTERNAL_RESOURCE_H_INCLUDED)
#define EXTERNAL_RESOURCE_H_INCLUDED

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "abstract_resource_file.h"

// ---------------------------------------------------------------
// a single, external resource, in uncompressed form.
// ---------------------------------------------------------------

class t_external_resource : public t_abstract_resource_file  
{
public:
	t_external_resource( char const* folder_name, char const* file_name );
	virtual ~t_external_resource();

	virtual t_streambuf_ptr get_stream( int offset );
	virtual std::string get_filename();

protected:
	std::string m_file_name;
};

#endif // !defined(AFX_EXTERNAL_RESOURCE_H__BC19D032_1B57_11D4_B7C8_005004B1F94B__INCLUDED_)
